var PreLoadlst=new Array();
var loadedcnt = 0;
var isPreloading = 0;

function preload(){
	isPreloading =1;
	loadedcnt = 0;
	for (var i=0;i<PreLoadlst.length;i++){
		
		if (PreLoadlst[i].complete) {
			loadedcnt++;
			continue;
		}

		PreLoadlst[i].onload= function(){
			loadedcnt++;
		}
	}
}
